package initialize

import (
	"com.kern/router"
	"github.com/gin-gonic/gin"
)

func Routers() *gin.Engine {
	var Router = gin.Default()

	// 初始化总路由
	RouterGroup := Router.Group("")
	{
		router.InitIndexRouter(RouterGroup)
	}

	return Router
}
